home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / sharew / dfue / midi.net / anetmidi / midispec / midbnf.txt < prev    next >
Encoding:
Text File  |  1990-12-26  |  3.6 KB  |  69 lines

  1. The latest issue of the IMA bulletin had an article on BNF for MIDI.  The
  2. article points out that this syntax is what can be TRANSMITTED and the
  3. actual RECEIVER implementation may differ slightly from this grammer. This
  4. may allow greater error tolerance. The example given is that of tranmitting
  5. a system exclusive message without the termination byte <eox> F7. A channel
  6. status byte could also be used to terminate a system exclusive in the event
  7. the eox byte is lost due to error or power down etc...
  8.  
  9. Definitions 3-17 define running status and realtime data insertion as well as
  10. the various channel messages.
  11.  
  12. 1.  <MIDI Stream> ::=           <MIDI msg> < MIDI Stream>
  13. 2.  <MIDI msg> ::=              <sys msg> | <chan msg>
  14. 3.  <chan msg> ::=              <chan 1byte msg> |
  15.                                 | <chan 2byte msg>
  16. 4.  <chan 1byte msg> ::=        <chan stat1 byte> <data singlet>
  17.                                   <running singlets>
  18. 5.  <chan 2byte msg> ::=        <chan stat2 byte> <data pair>
  19.                                   <running pairs>
  20. 6.  <chan stat1 byte> ::=       <chan voice stat1 nibble>
  21.                                   <hex nibble>
  22. 7.  <chan stat2 byte> ::=       <chan voice stat2 nibble>
  23.                                   <hex nibble>
  24. 8.  <chan voice stat1 nyble>::= C | D
  25. 9.  <chan voice stat2 nyble>::= 8 | 9 | A | B | E
  26. 10. <hex nyble> ::=             0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
  27.                                 | 8 | 9 | A | B | C | D | E | F
  28. 11. <data pair> ::=             <data singlet> <data singlet>
  29. 12. <data singlet> ::=          <realtime byte> <data singlet> |
  30.                                 | <data byte>
  31. 13. <running pairs> ::=         <empty> | <data pair> <running pairs>
  32. 14. <running singlets> ::=      <empty> |
  33.                                 | <data singlet> <running singlets>
  34. 15. <data byte> ::=             <data MSD> <hex nyble>
  35. 16. <data MSD> ::=              0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
  36. 17. <realtime byte> ::=         F8 | FA | FB | FC | FE | FF
  37. 18. <sys msg> ::=               <sys common msg> |
  38.                                 | <sysex msg> |
  39.                                 | <sys realtime msg>
  40. 19. <sys realtime msg> ::=      <realtime byte>
  41. 20. <sysex msg> ::=             <sysex data byte>
  42.                                   <data singlet> <running singlets>
  43.                                   <eox byte>
  44. 21. <sysex stat byte> ::=       F0
  45. 22. <eox byte> ::=              F7
  46. 23. <sys common msg> ::=        <song position msg> |
  47.                                 | <song select msg> |
  48.                                 | <tune request>
  49. 24. <tune request> ::=          F6
  50. 25. <song position msg> ::=     <song position stat byte>
  51.                                   <data pair>
  52. 26. <song select msg> ::=       <song select stat byte>
  53.                                   <data singlet>
  54. 27. <song position stat byte>::=F2
  55. 28. <song select stat byte> ::= F3
  56. z MAILER UHCCUX  4/07/89
  57. 'lee@uhccux          eharnden@auvm        4/07/89 midi-bnf
  58.  
  59. % ====== Internet headers and postmarks (see DECWRL::GATEWAY.DOC) ======
  60. Received: by decpa.pa.dec.com; id AA29949; Fri, 21 Dec 90 17:19:58 -0800
  61. Received: by decwrl.dec.com; id AA29822; Fri, 21 Dec 90 17:10:11 -0800
  62. Message-Id: <9012220110.AA29822@decwrl.dec.com>
  63. Received: from AUVM.BITNET by CUNYVM.CUNY.EDU (IBM VM SMTP R1.2.2MX) with BSMTP id 7278; Fri, 21 Dec 90 20:08:39 EST
  64. Received: by AUVM (Mailer R2.07) id 6650; Fri, 21 Dec 90 20:09:40 EST
  65. Date:         Fri, 21 Dec 90 20:09:39 EST
  66. From: Revised List Processor (1.6e) <LISTSERV%AUVM.BITNET@CUNYVM.CUNY.EDU>
  67. Subject:      File: "MIDIBNF MIDISPEC" being sent to you
  68. To: SKIVT::hearn
  69.